import request from '@/utils/request'



export function selectSiloConfList(data) {
  return request({
    url: '/radarSiloConf/list',
    method: 'get',
    params: data
  })
}

  // 新增料仓模型
export function addSiloConf(data) {
  return request({
    url: '/radarSiloConf',
    method: 'post',
    data: data
  })
}

  // 修改料仓模型
export function updateSiloConf(data) {
  return request({
    url: '/radarSiloConf',
    method: 'put',
    data: data
  })
}

  // 修改料仓模型
  export function deleteSiloConf(siloConfId) {
    return request({
      url: '/radarSiloConf/'+siloConfId,
      method: 'delete'
    })
  }
